package com.kmxd.ams.core.common.bo;

import com.kmxd.ams.core.common.enums.OperatorEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 组合条件检索
 *
 * @author nickbi
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "组合条件检索")
public class ConditionBO implements Serializable {
  @Schema(description = "键")
  private String key;

  @Schema(description = "中文名")
  private String text;

  @Schema(description = "操作")
  private OperatorEnum operator;

  @Schema(description = "值")
  private String value;

  @Schema(description = "逻辑操作")
  private String logic;

  @Schema(description = "描述")
  private String des;
}
